package video.com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import video.com.entity.VideoApprove;
import video.com.mapper.VideoApproveMapper;
import video.com.service.VideoApproveService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xwj
 * @since 2024-01-15
 */
@Service
public class VideoApproveServiceImpl extends ServiceImpl<VideoApproveMapper, VideoApprove> implements VideoApproveService {

    @Resource
    private VideoApproveMapper videoApproveMapper;


    public Map<String, Object> getQuickApproveUser(){
        return videoApproveMapper.getQuickestUserId();
    }
}
